package com.dyrj.jzb.po;

import com.alibaba.fastjson.JSON;

import java.util.HashMap;

/**
 * KFEJZB6006	会员交易-验密	MemberTransactionsInspection
 * 此接口可以实现会员间的余额的交易，实现资金在会员之间流动。此接口须通过支付密码校验。
 */

public class Po6230PreOrderPayQuery extends PoBase{

    //查询标志 默认为1-下单预支付(含T0)
    private String QueryFlag;
    //资金汇总账号
//    private String FundSummaryAcctNo;
    //转出子账户
    private String OutSubAcctNo;
    //转出会员代码
    private String OutMemberCode;
    //转入子账户账号 收款方
    private String InSubAcctNo;
    //转入会员代码 交易网会员代码即会员在平台端系统的会员编号
    private String InMemberCode;
    //页码 起始值为1，每次最多返回20条记录，第二页返回的记录数为第21至40条记录，第三页为41至60条记录，顺序均按照建立时间的先后
    private String PageNum;

    //保留域1
    private String ReservedMsgOne;
    //保留域2
    private String ReservedMsgTwo;

    //输出 本次交易返回查询结果记录数 根据查询结果返回的总记录数
    private String ResultNum;
    //输出 起始记录号
    private String StartRecordNo;
    //输出 结束标志 0：否  1：是
    private String EndFlag;
    //输出 符合业务查询条件的记录总数 重复次数（一次最多返回20条记录）
    private String TotalNum;
    /**
     * TranItemArray	交易信息数组
     * OrderNo	订单号
     * OrderType	订单类型
     * OrderAmt	订单金额
     * RemainAmt	剩余金额
     * OrderDate	下单日期
     * OrdersTime	下单时间
     * LastChangeDate	最后变动日期
     * OrderMsg	订单信息
     * OrderRemark	订单备注
     * Commission	手续费
     * FrontSeqNo	前置流水号
     * ReservedMsg	保留域
     * TranItemArray End
     */
    //输出 保留域
//    private String ReservedMsg;

    public String getReqPara() {
        HashMap paraKeyDict = new HashMap();
        paraKeyDict.put("CnsmrSeqNo",this.getCnsmrSeqNo());
        paraKeyDict.put("MrchCode",this.getMrchCode());
        paraKeyDict.put("QueryFlag",this.getQueryFlag());
        paraKeyDict.put("OutSubAcctNo",this.getOutSubAcctNo());
//        paraKeyDict.put("FundSummaryAcctNo",this.getFundSummaryAcctNo());
        paraKeyDict.put("OutMemberCode",this.getOutMemberCode());
        paraKeyDict.put("InSubAcctNo",this.getInSubAcctNo());
        paraKeyDict.put("InMemberCode",this.getInMemberCode());
        paraKeyDict.put("PageNum",this.getPageNum());
        paraKeyDict.put("ReservedMsgOne",this.getReservedMsgOne());
        paraKeyDict.put("ReservedMsgTwo",this.getReservedMsgTwo());
        return JSON.toJSONString(paraKeyDict);
    }

    public String getQueryFlag() {
        return QueryFlag;
    }

    public void setQueryFlag(String queryFlag) {
        QueryFlag = queryFlag;
    }

    public String getOutSubAcctNo() {
        return OutSubAcctNo;
    }

    public void setOutSubAcctNo(String outSubAcctNo) {
        OutSubAcctNo = outSubAcctNo;
    }

    public String getOutMemberCode() {
        return OutMemberCode;
    }

    public void setOutMemberCode(String outMemberCode) {
        OutMemberCode = outMemberCode;
    }

    public String getInSubAcctNo() {
        return InSubAcctNo;
    }

    public void setInSubAcctNo(String inSubAcctNo) {
        InSubAcctNo = inSubAcctNo;
    }

    public String getInMemberCode() {
        return InMemberCode;
    }

    public void setInMemberCode(String inMemberCode) {
        InMemberCode = inMemberCode;
    }

    public String getPageNum() {
        return PageNum;
    }

    public void setPageNum(String pageNum) {
        PageNum = pageNum;
    }

    public String getReservedMsgOne() {
        return ReservedMsgOne;
    }

    public void setReservedMsgOne(String reservedMsgOne) {
        ReservedMsgOne = reservedMsgOne;
    }

    public String getReservedMsgTwo() {
        return ReservedMsgTwo;
    }

    public void setReservedMsgTwo(String reservedMsgTwo) {
        ReservedMsgTwo = reservedMsgTwo;
    }

    public String getResultNum() {
        return ResultNum;
    }

    public void setResultNum(String resultNum) {
        ResultNum = resultNum;
    }

    public String getStartRecordNo() {
        return StartRecordNo;
    }

    public void setStartRecordNo(String startRecordNo) {
        StartRecordNo = startRecordNo;
    }

    public String getEndFlag() {
        return EndFlag;
    }

    public void setEndFlag(String endFlag) {
        EndFlag = endFlag;
    }

    public String getTotalNum() {
        return TotalNum;
    }

    public void setTotalNum(String totalNum) {
        TotalNum = totalNum;
    }
}
